<?php echo $this->Form->create('Medidas', array('action' => 'medidas')); ?>
<div class="widget">
    <div class="whead"><h6>LISTADO DE MEDIDAS</h6><div class="clear"></div></div>
    <div class="shownpars">
        <table cellpadding="0" cellspacing="0" border="0" class="dTable">
            <thead>
                <tr>
                    <th>Nro</th>
                    <th>Nombre</th>
                    <th>Descripcion</th>
                    
                    <th>Acciones</th>
                </tr>
            </thead>
            <tbody>
                <?php $i=1;?>
                        <tbody>
                        <?php foreach ($medidas as $med): ?>                        
                            <tr> 
                                <td><?php echo $i; $i++;?></td>                                   
                                <td><?php echo $med['Medida']['nombre']; ?></td>
                                <td> <?php echo $med['Medida']['descripcion']; ?></td>
                                <td>
                                <?php echo $this->Html->link($this->Html->image('/images/edit.png', array("alt" => 'Editar', 'title' => 'editar')), array('action' => 'editar', $med['Medida']['id']), array('escape' => false)); ?>&nbsp;
         
                                <?php echo $this->Html->link('ELIMINAR',array('action'=>'eliminar',$med['Medida']['id']),array('class' => 'inner_a'),('Desea realmente eliminar?')); ?>
                                
                                
                                </td>
                            </tr>
                        <?php endforeach; ?>                 
            </tbody>
        </table>
    </div> 
</div> 


  